package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.DataDictionary;
import cn.wolfcode.crm.domain.DataDictionary;
import cn.wolfcode.crm.query.DictionaryQueryObject;

import java.util.List;

public interface DataDictionaryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DataDictionary record);

    DataDictionary selectByPrimaryKey(Long id);

    List<DataDictionary> selectAll();

    int updateByPrimaryKey(DataDictionary record);

    DataDictionary selectByName(String name);

    Long selectBySn(DictionaryQueryObject qo);

    Long getLevelID(String level);
}